# $Id$
#Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=randrproto
pkgver=1.5.0
pkgrel=1
pkgdesc="X11 RandR extension wire protocol"
arch=('any')
license=('custom')
url="https://xorg.freedesktop.org/"
makedepends=('xorg-util-macros')
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2{,.sig})
sha256sums=('4c675533e79cd730997d232c8894b6692174dce58d3e207021b8f860be498468'
            'SKIP')
validpgpkeys=('10A6D91DA1B05BD29F6DEBAC0C74F35979C486BE') # Dave Airlie <airlied@redhat.com> 

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
